home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 69 / Cine Live 69.iso / pc / Data / Interface / vid2.k < prev    next >
Encoding:
Text File  |  2003-05-07  |  6.6 KB  |  280 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000152; 
  4.     release Editor:
  5.         IOWindow is {$00000142,$000000CE,$000002B8,$000002AE,$00000000,$FFFFFF9D,$00000000,$00000000};
  6.         LayoutWindow is {$00000383,$000001ED,$00000293,$00000248,$00000000,$00000000,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMusic2,
  16.         ofond3,
  17.         obouton_sommaire4,
  18.         obouton_retour5,
  19.         obouton_lancer6,
  20.         oBox8,
  21.         oVid_o7
  22.     ];
  23.     Events is [
  24.         cOnscreenEvent
  25.         with 
  26.             Commands is [
  27.                 cRunCommand
  28.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  29.             ];
  30.         end,
  31.         cKeyboardEvent
  32.         with Test is IsSpace; 
  33.             Commands is [
  34.                 cRunCommand
  35.                 with Flags is $00000004; Target is oVid_o7; Mode is Toggle; end
  36.             ];
  37.         end,
  38.         cKeyboardEvent
  39.         with Value is "+"; 
  40.             Commands is [
  41.                 cSetVolumeCommand
  42.                 with Mode is ExecuteHigher; end
  43.             ];
  44.         end,
  45.         cKeyboardEvent
  46.         with Value is "-"; 
  47.             Commands is [
  48.                 cSetVolumeCommand
  49.                 with Flags is $00000004; Mode is ExecuteLower; end
  50.             ];
  51.         end,
  52.         cKeyboardEvent
  53.         with Value is "m"; 
  54.             Commands is [
  55.                 cRunCommand
  56.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  57.             ];
  58.         end
  59.     ];
  60. end;
  61.  
  62. object oMusic2 is cSound
  63. with 
  64.     Flags is $00000150; 
  65.     Name is "Music"; 
  66.     
  67.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  68.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  69.     Looping is true; 
  70.     URL is "data/Sons/3.mp3"; URLOption is GetDiskURL; 
  71.     
  72. end;
  73.  
  74. object ofond3 is cImage
  75. with 
  76.     Flags is $00000150; 
  77.     Name is "fond"; 
  78.     Enabled is false; 
  79.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  80.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  81.     
  82.     URL is "data/Images/v2.jpg"; URLOption is GetDiskURL; 
  83.     
  84.     
  85. end;
  86.  
  87. object obouton_sommaire4 is cImage
  88. with 
  89.     Flags is $00000150; 
  90.     Name is "bouton sommaire"; 
  91.     Shown is false; Cursor is oFingerCursor; 
  92.     X is 629; Y is 573; 
  93.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  94.     
  95.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  96.     
  97.     
  98.     Events is [
  99.         cMouseEnterEvent
  100.         with Flags is $00000004; 
  101.             Commands is [
  102.                 cShowCommand
  103.                 with Flags is $00000004; Target is oTargetSelf; end
  104.             ];
  105.         end,
  106.         cMouseLeaveEvent
  107.         with Flags is $00000004; 
  108.             Commands is [
  109.                 cShowCommand
  110.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  111.             ];
  112.         end,
  113.         cMouseUpEvent
  114.         with Flags is $00000004; Flag is true; 
  115.             Commands is [
  116.                 cBrowseCommand
  117.                 with Flags is $00000004; URL is "../../Data/Interface/sommaire.k"; end
  118.             ];
  119.         end
  120.     ];
  121. end;
  122.  
  123. object obouton_retour5 is cImage
  124. with 
  125.     Flags is $00000150; 
  126.     Name is "bouton retour"; 
  127.     Shown is false; Cursor is oFingerCursor; 
  128.     X is 321; Y is 573; 
  129.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  130.     
  131.     URL is "data/Images/vid%20retour.jpg"; URLOption is GetDiskURL; 
  132.     
  133.     
  134.     Events is [
  135.         cMouseEnterEvent
  136.         with Flags is $00000004; 
  137.             Commands is [
  138.                 cShowCommand
  139.                 with Flags is $00000004; Target is oTargetSelf; end
  140.             ];
  141.         end,
  142.         cMouseLeaveEvent
  143.         with Flags is $00000004; 
  144.             Commands is [
  145.                 cShowCommand
  146.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  147.             ];
  148.         end,
  149.         cMouseUpEvent
  150.         with Flags is $00000004; Flag is true; 
  151.             Commands is [
  152.                 cBrowseCommand
  153.                 with URL is "videos.k"; end
  154.             ];
  155.         end
  156.     ];
  157. end;
  158.  
  159. object obouton_lancer6 is cImage
  160. with 
  161.     Flags is $00000150; 
  162.     Name is "bouton lancer"; 
  163.     Shown is false; Cursor is oFingerCursor; 
  164.     X is 475; Y is 573; 
  165.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  166.     
  167.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  168.     
  169.     
  170.     Events is [
  171.         cMouseEnterEvent
  172.         with Flags is $00000004; 
  173.             Commands is [
  174.                 cShowCommand
  175.                 with Flags is $00000004; Target is oTargetSelf; end
  176.             ];
  177.         end,
  178.         cMouseLeaveEvent
  179.         with Flags is $00000004; 
  180.             Commands is [
  181.                 cShowCommand
  182.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  183.             ];
  184.         end,
  185.         cMouseUpEvent
  186.         with Flags is $00000004; Flag is true; 
  187.             Commands is [
  188.                 cShowCommand
  189.                 with Flags is $00000004; Target is oVid_o7; end,
  190.                 cEnableCommand
  191.                 with Flags is $00000004; Target is oVid_o7; end,
  192.                 cShowCommand
  193.                 with Flags is $00000004; Target is oBox8; end,
  194.                 cEnableCommand
  195.                 with Flags is $00000004; Target is oBox8; end,
  196.                 cRunCommand
  197.                 with Flags is $00000004; Target is oVid_o7; Rewind is true; end,
  198.                 cRunCommand
  199.                 with Flags is $00000004; Target is oMusic2; Mode is Clear; Rewind is true; end
  200.             ];
  201.         end
  202.     ];
  203. end;
  204.  
  205. object oBox8 is cBox
  206. with 
  207.     Flags is $00000254; 
  208.     Name is "Box"; 
  209.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  210.     
  211.     Width is 800; Height is 600; 
  212.     
  213.     Kind is DrawOpaque; 
  214.     Events is [
  215.         cMouseUpEvent
  216.         with Flags is $00000004; Flag is true; 
  217.             Commands is [
  218.                 cShowCommand
  219.                 with Flags is $00000004; Target is oBox8; Mode is Clear; end,
  220.                 cEnableCommand
  221.                 with Flags is $00000004; Target is oBox8; Mode is Clear; end,
  222.                 cShowCommand
  223.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  224.                 cEnableCommand
  225.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  226.                 cRunCommand
  227.                 with Flags is $00000005; Target is oVid_o7; Mode is Clear; Rewind is true; end,
  228.                 cRunCommand
  229.                 with Flags is $00000005; Target is oMusic2; Rewind is true; end
  230.             ];
  231.         end
  232.     ];
  233. end;
  234.  
  235. object oVid_o7 is cMPEGMovie
  236. with 
  237.     Flags is $00000154; 
  238.     Name is "Vid\$E9o"; 
  239.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  240.     Y is 76; 
  241.     Width is 800; Height is 450; 
  242.     
  243.     URL is "data/Videos/v2.mpg"; URLOption is GetDiskURL; 
  244.     Events is [
  245.         cMouseUpEvent
  246.         with Flags is $00000004; Flag is true; 
  247.             Commands is [
  248.                 cShowCommand
  249.                 with Flags is $00000004; Target is oBox8; Mode is Clear; end,
  250.                 cEnableCommand
  251.                 with Flags is $00000004; Target is oBox8; Mode is Clear; end,
  252.                 cShowCommand
  253.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  254.                 cEnableCommand
  255.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  256.                 cRunCommand
  257.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; Rewind is true; end,
  258.                 cRunCommand
  259.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  260.             ];
  261.         end,
  262.         cFinishedEvent
  263.         with Flags is $00000004; 
  264.             Commands is [
  265.                 cShowCommand
  266.                 with Flags is $00000004; Target is oBox8; Mode is Clear; end,
  267.                 cEnableCommand
  268.                 with Flags is $00000004; Target is oBox8; Mode is Clear; end,
  269.                 cShowCommand
  270.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  271.                 cEnableCommand
  272.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  273.                 cRunCommand
  274.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; Rewind is true; end,
  275.                 cRunCommand
  276.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  277.             ];
  278.         end
  279.     ];
  280. end;